UCF STIG Viewer Logo

The snmpd service must not use a default password.


Overview

Finding ID Version Rule ID IA Controls Severity
V-38653 RHEL-06-000341 SV-50454r2_rule High
Description
Presence of the default SNMP password enables querying of different system aspects and could result in unauthorized knowledge of the system.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2019-09-25

Details

Check Text ( C-46213r2_chk )
Verify the "snmp" package is installed:

# rpm -qa | grep -i snmp
net-snmp-5.7.1-31.2.x86_64.rpm

If the package is not installed, this is Not Applicable.

To ensure the default password is not set, run the following command:

# grep -v "^#" /etc/snmp/snmpd.conf| grep public

There should be no output.

If there is output, this is a finding.
Fix Text (F-43602r1_fix)
Edit "/etc/snmp/snmpd.conf", remove default community string "public". Upon doing that, restart the SNMP service:

# service snmpd restart